package com.example.zx_springboot.service;

import com.example.zx_springboot.entity.ZxUser;
import com.github.pagehelper.PageInfo;

import java.util.List;
import java.util.Map;

public interface ZxUserService {
    public ZxUser getUserById(int id);
    public ZxUser UpdateUser(ZxUser zxUser);
    public List<ZxUser>  selectname(String userName);

    public void deleteuser(Integer user_id);
    public void deleteusers(List<Integer> ids);

    public ZxUser login(ZxUser zxUser);
    public void adduser(ZxUser zxUser);
    PageInfo findByPage(Integer pageNum, Integer pageSize,String userName);
    List<ZxUser> getall();


    ZxUser isregister(ZxUser zxUser);

    ZxUser person(String userName);

    void Updateperson(ZxUser zxUser);

    ZxUser personpwd(ZxUser zxUser);



    void Updatepersonpwd(Map<String, String> paramMap);
}
